package com.tanhua.domain.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "voice")
public class Voice implements Serializable {

    private static final long serialVersionUID = -3136732836884933874L;

    private ObjectId id;  //主键
    private long created;//创建时间

    private Long vid;//Long类型，用于推荐系统模型

    private Long userId;
    private Integer age; //年龄
    private String gender; //性别
    private String soundUrl; //视频文件，URL

    private Integer state;//是否被接收


}
